﻿
kind                                    "interior"
mesh                                    "gen_tgv_cab.pm"
camera                                  0.6,0.35,0.17

cameralist
{
  camera0                               0.773,0.671,0.2,1.566,-0.096
  camera1                               0.583,0.35,0.247,0,-0.352
  camera2                               0.479,0,0.148
  camera3                               -0.69,-0.017,0.17,0.242,-0.185
  camera4                               -0.773,0.671,0.2,-1.566,-0.096
}
cameradefault                           2

attachment
{
  pantograph_lever
  {
    kind                                "lever"
    mesh                                "pantograph_lever.pm"
    att                                 "a.pantograph_lever"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         3,3
    radius                              0.16
  }
  
  horn
  {
    kind                                "lever"
    mesh                                "lever_handle.pm"
    att                                 "a.horn"
    limits                              0,1
    angles                              0,-0.45
    notches                             0,1
    notchheight                         3,3
    radius                              0.16
    mousespeed                          -1
  }
  
  independantbrake_lever
  {
    kind                                "lever"
    mesh                                "lever_handle.pm"
    att                                 "a.ind_brake_lever"
    limits                              0,32
    angles                              0,-0.45
    notches                             0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1
    notchheight                         1,2,2,2,2,2,2,2,2,2,1
    radius                              0.15
    mousespeed                          -1
  }
  
  reverser_lever
  {
    kind                                "lever"
    mesh                                "reverser.pm"
    att                                 "a.reverser"
    limits                              0,2
    angles                              0,-0.471239
    notches                             0,0.5,1
    notchheight                         1,1,1
  }
  
  throttle_lever
  {
    kind                                "lever"
    mesh                                "traction.pm"
    att                                 "a.traction"
    limits                              0,32
    angles                              -0.75,0.75
    notches                             0,0.0303,0.0606,0.0909,0.1212,0.1515,0.1818,0.2121,0.2424,0.2727,0.303,0.3333,0.3636,0.3939,0.4242,0.4545,0.4848,0.5151,0.5454,0.5757,0.606,0.6363,0.6666,0.6969,0.7272,0.7575,0.7878,0.8181,0.8484,0.8787,0.909,0.9393,1
    notchheight                         1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1
    radius                              0.35
  }
  
  voltmeter_line
  {
    kind                                "needle"
    mesh                                "bar_meter_needle.pm"
    att                                 "a.voltmeter_line"
    limits                              0,125
    value                               75
    angles                              0,0.6
  }
  
  ampmeter_needle
  {
    kind                                "needle"
    mesh                                "bar_meter_needle.pm"
    att                                 "a.ampmeter_motor1"
    limits                              0,1500
    angles                              0,0.6
  }
  
  ampmeter2_needle
  {
    kind                                "needle"
    mesh                                "bar_meter_needle.pm"
    att                                 "a.ampmeter_motor2"
    limits                              0,1500
    angles                              0,0.6
  }
  
  ampmeter_brake
  {
    kind                                "needle"
    mesh                                "bar_meter_needle.pm"
    att                                 "a.ampmeter_brake"
    limits                              0,1000
    value                               200
    angles                              0,0.6
  }
  
  voltmeter_battery
  {
    kind                                "needle"
    mesh                                "bar_meter_needle.pm"
    att                                 "a.voltmeter_battery"
    limits                              0,125
    value                               72
    angles                              0,0.6
  }
  
  trainbrake_lever
  {
    kind                                "lever"
    mesh                                "brake.pm"
    att                                 "a.train_brake_lever"
    limits                              0,4
    angles                              -0.75,0.35
    notches                             0,0.25,0.27,0.29,0.31,0.33,0.35,0.37,0.39,0.41,0.43,0.45,0.47,0.49,0.5,0.75,1
    notchheight                         1,1,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1
    radius                              0.15
    mousespeed                          -1
  }
  
  bplocomain_needle
  {
    kind                                "needle"
    mesh                                "pressure_needle_lge.pm"
    att                                 "a.res_pressure_needle"
    limits                              0,1000
  }
  
  bploco_equaliser
  {
    kind                                "needle"
    mesh                                "pressure_needle_lge_red.pm"
    att                                 "a.res_pressure_needle"
    limits                              0,1000
  }
  
  bptrainbrakepipe_needle
  {
    kind                                "needle"
    mesh                                "pressure_needle_sml.pm"
    att                                 "a.brake_cyl_pressure"
    limits                              0,1000
  }
  
  no3pipe_needle
  {
    kind                                "needle"
    mesh                                "pressure_needle_sml.pm"
    att                                 "a.ind_brake_pressure"
    limits                              0,1000
  }
  
  speedo_needle2
  {
    kind                                "needle"
    mesh                                "speedo_needle1.pm"
    att                                 "a.speedo_needle1"
    limits                              0,50
  }
  
  speedo_needle
  {
    kind                                "needle"
    mesh                                "speedo_needle2.pm"
    att                                 "a.speedo_needle2"
    limits                              0,186
  }
  
  wheelslip_light
  {
    kind                                "light"
    mesh                                "wheelslip.pm"
    att                                 "none"
  }
  
  switch0
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch0"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch1
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch1"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch2
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch2"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch3
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch3"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch4
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch4"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch5
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch5"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch6
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch6"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch7
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch7"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch8
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch8"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch9
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch9"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch10
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch10"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch11
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch11"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch12
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch12"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch13
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch13"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch14
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch14"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch15
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch15"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch16
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch16"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch17
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch17"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch18
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch18"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch19
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch19"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  switch20
  {
    kind                                "lever"
    mesh                                "switch.pm"
    att                                 "a.switch20"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  light_switch
  {
    kind                                "lever"
    att                                 "a.switch21"
    mesh                                "light_switch.pm"
    limits                              0,1
    angles                              0,1
    notches                             0,1
    notchheight                         0,0
  }
  
  windows
  {
    mesh                                "windows.pm"
    att                                 
    opacity                             0.2
  }
}
kuid                                    <kuid:-10:216>
asset-filename                          "gen_tgv"
username-cz                             "gen_tgv"
username-hu                             "gen_tgv"
username-pl                             "gen_tgv"
username-ru                             "gen_tgv"

kuid-table
{
}
username-it                             "gen_tgv"
username-nl                             "gen_tgv"
username-es                             "gen_tgv"
username-fr                             "gen_tgv"
